package com.hua.designpattern.behavioral.observer;

public class ObserverConcrete2 implements ObserverInterface {

	public ObserverConcrete2() {
	}

	public ObserverConcrete2(ObserverSubject subject) {
		subject.addObserver(this);
	}

	@Override
	public void update(String message) {
		System.out.println("ObserverConcrete2 update: " + message);
	}

}
